import type { Recordable } from '@vben/types';
import { requestClient } from '#/api/request';

export async function list(data) {
  return requestClient.post('/task/onSiteInspection/getOnSiteInspectionList', data);
}

export async function getOnSiteInspectionDetail(data) {
  return requestClient.post('/task/onSiteInspection/getOnSiteInspectionDetail', data);
}

export async function addOnSiteInspection(data) {
  return requestClient.post('/task/onSiteInspection/addOnSiteInspection', data);
}

export async function editOnsiteInspection(data) {
  return requestClient.post('/task/onSiteInspection/editOnsiteInspection', data);
}

export async function deleteId(data) {
  return requestClient.post('/task/onSiteInspection/delete', data);
}
